package by.dkusch.aircompany.model.filter;

import java.util.Date;

import by.dkusch.aircompany.model.filter.base.FilterEntity;
import by.dkusch.aircompany.model.tables.Route;

public class FilterRoute extends FilterEntity<Long, Route> {

	private static final long serialVersionUID = 1L;
	private String code;
	private String name;
	private String startAirportCode;
	private String endAirportCode;
	private Date departureTimeStart;
	private Date departureTimeEnd;
	private Integer durationMin;
	private Integer durationMax;

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getStartAirportCode() {
		return startAirportCode;
	}

	public void setStartAirportCode(String startAirportCode) {
		this.startAirportCode = startAirportCode;
	}

	public String getEndAirportCode() {
		return endAirportCode;
	}

	public void setEndAirportCode(String endAirportCode) {
		this.endAirportCode = endAirportCode;
	}

	public Date getDepartureTimeStart() {
		return departureTimeStart;
	}

	public void setDepartureTimeStart(Date departureTimeStart) {
		this.departureTimeStart = departureTimeStart;
	}

	public Date getDepartureTimeEnd() {
		return departureTimeEnd;
	}

	public void setDepartureTimeEnd(Date departureTimeEnd) {
		this.departureTimeEnd = departureTimeEnd;
	}

	public Integer getDurationMin() {
		return durationMin;
	}

	public void setDurationMin(Integer durationMin) {
		this.durationMin = durationMin;
	}

	public Integer getDurationMax() {
		return durationMax;
	}

	public void setDurationMax(Integer durationMax) {
		this.durationMax = durationMax;
	}

}
